package com.lzyjkz.quick_system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lzyjkz.quick_system.entity.SysMenu;
import com.lzyjkz.quick_system.entity.vo.SysMenuNode;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SysMenuMapper extends BaseMapper<SysMenu> {
    List<SysMenuNode> getPage(Page<SysMenu> page);

    List<SysMenuNode> getByFatherId(@Param("fatherId") Long fatherId);
}
